package top.mhtools.pigeon.common.factory;

import top.mhtools.pigeon.common.persistence.SendMessageRequest;
import top.mhtools.pigeon.common.persistence.SimpleSendMessageReqDTO;

/**
 * 抽象消息角色
 *
 * @author machen
 * @date 2020/5/27 20:35
 */
public interface Message {

    /**
     * 构建消息
     *
     * @param easyMessage
     * @return
     */
    SendMessageRequest buildMessage(SimpleSendMessageReqDTO easyMessage);
}
